package pers.liyan.shi.springclouddistributedlocker;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
import pers.liyan.shi.springclouddistributedlocker.zookeeper.ZooKeeperProperties;

/** 
 * @author ShiLY
 * @date 2020/2/23 16:03 
 */
@EnableScheduling
@SpringBootApplication
@EnableConfigurationProperties(ZooKeeperProperties.class)
public class DistributedLockerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DistributedLockerApplication.class, args);
    }

}
